from rest_framework.serializers import ModelSerializer

from home.models import Nav, Banner


class NavSer(ModelSerializer):
    class Meta:
        model=Nav
        fields="__all__"
class BannerSer(ModelSerializer):
    class Meta:
        model=Banner
        fields="__all__"